package org.jeecg.modules.music.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.api.vo.user.UserDetailVo;
import org.jeecg.modules.api.vo.user.UserLevelVo;
import org.jeecg.modules.music.entity.MusUser;

import java.util.Date;
import java.util.List;

public interface IMusUserService  extends IService<MusUser> {
    MusUser getUserByNickName(String nickname);

    MusUser getUserByPhone(String telephone);

    MusUser getUserByEmail(String email);

    void addMusUser(MusUser user);

    Result checkUserIsEffective(MusUser sysUser);

    UserDetailVo reqDetail(String uid);

    UserDetailVo getUserProfileByPhone(String phone);

    UserLevelVo queryLevel(String cookie);

    void editUser(MusUser musUser);

    void changePassword(String uid, String password);

    void saveMusUser(MusUser user);

    void updateUser(MusUser musUser);

    void deleteMusUser(String id);

    void deleteBatchMusUser(String ids);

    void resetUserPassword(String uid, String password, Date date);
}
